class FileRes {
  FileRes({
    this.busId,
    this.busType,
    this.createTime,
    this.duration,
    this.fileSize,
    this.fileType,
    this.id,
    this.name,
    this.sourcePath,
    this.thumbnailPath,
  });

  FileRes.fromJson(dynamic json) {
    busId = json['busId'];
    busType = json['busType'];
    createTime = json['createTime'];
    duration = json['duration'];
    fileSize = json['fileSize'];
    fileType = json['fileType'];
    id = json['id'];
    name = json['name'];
    sourcePath = json['sourcePath'];
    thumbnailPath = json['thumbnailPath'];
  }

  String? busId;
  String? busType;
  String? createTime;
  String? duration;
  String? fileSize;
  String? fileType;
  String? id;
  String? name;
  String? sourcePath;
  String? thumbnailPath;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['busId'] = busId;
    map['busType'] = busType;
    map['createTime'] = createTime;
    map['duration'] = duration;
    map['fileSize'] = fileSize;
    map['fileType'] = fileType;
    map['id'] = id;
    map['name'] = name;
    map['sourcePath'] = sourcePath;
    map['thumbnailPath'] = thumbnailPath;
    return map;
  }
}
